#define  _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

void Swap(int* arr1, int* arr2, int sz)
{
	int i = 0;
	for (i = 0; i < sz; i++)
	{
		int tmp = *(arr1 + i);
		*(arr1 + i) = *(arr2 + i);
		*(arr2 + i) = tmp;
	}
}
int main()
{
	int arr1[] = { 1,2,3,4,5,6,7,8,9,10 };
	int arr2[] = { 2,2,2,2,2,2,2,2,2,2 };
	int len = sizeof(arr1) / sizeof(int);
	Swap(arr1,arr2,len);

	return 0;
}